package EnumTest;

/**
 * @Description
 * @Author 林泽鸿
 * @Date 2020/9/30 18:21
 */
public enum SearchCategory {
    ALL("综合查询"),
    NEWS("新闻"),
    TAXPAYER("纳税人"),
    QUIZ("知识问答"),
    POLICY_LAW("政策法规"),
    DOC("涉税文档"),
    PIC("图片"),
    BAIKE("税务百科");

    private String value;

    SearchCategory(String value) {
        this.value = value;
    }

    public String getValue(){
        return value;
    }

    public static void main(String[] args){
        for(SearchCategory s : SearchCategory.values()){
            System.out.println(s + "---" + s.getValue());
        }
    }
}
